﻿namespace LPP.API.Models
{
    public class ErrorResponse
    {
        public bool Success { get; set; } = false;
        public string Message { get; set; }
        public string ErrorCode { get; set; }

        public ErrorResponse(string message, string errorCode = null)
        {
            Message = message;
            ErrorCode = errorCode;
        }
    }

    public class PaymentResponse
    {
        public bool Success { get; set; }
        public string OrderInfo { get; set; }
        public string OrderId { get; set; }
        public decimal Amount { get; set; }
    }

    public class VerifyResponse
    {
        public bool Success { get; set; }
        public bool Paid { get; set; }
        public string Status { get; set; }
        public DateTime? PaidTime { get; set; }
        public string TransactionId { get; set; }
    }
}
